//** 赛事项目类型接口 */

export interface ruleForm {
	id: string | null;
	competitionId: string;
	name: string;
	projectId: any;
	gameType: number;
	calculationRule: string;
	punishmentRule: string;
	gameBeginTime: Date | null;
	gameEndTime: Date | null;
	gameTime: number;
	finalsGameTime: number;
	sensorsMaxNum: number;
	teamMaxUserNum: number;
	signUpLimit: number;
	groupLimit: number;
	costMoney: number;
	discount: number;
	isDiscount: boolean;
	costType: number;
	isFree: boolean;
	address: string;
	stadium: string;
	detailsAddress: string;
	point: string;
	consultant: string;
	telePhone: string;
	state: number;
	isEnable: number;
	isScore: number;
	maxEmployeeNum?: number;
}
export interface DrawerProps {
	title: string;
	isView: boolean;
	row: any;
	id: string | null;
	api?: (params: any) => Promise<any>;
	getTableList?: () => void;
}
export interface Option {
	value: string;
	label: string;
	children?: Array<Option>;
}

export interface CompetitionData {
	name: string;
	city: string;
	chargeType: number;
	matchBeginTime: string;
	matchEndTime: string;
	id: string;
	officialOrBusiness: 0 | 1;
}
